package com.aizhixin.lab.task.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.cache.annotation.Cacheable;

import com.aizhixin.lab.common.entity.AbstractStringIdAndCreatedDateEntity;

import lombok.Getter;
import lombok.Setter;

@Entity(name="t_task_stu_answer")
@Cacheable
public class TaskStuAnswer extends AbstractStringIdAndCreatedDateEntity{


	@Column(name = "release_task_id")
	@Getter @Setter
	private String releaseTaskId;
	
	/**
	 * 学生任务id
	 */
	@Column(name = "task_stu_infor_id")
	@Getter @Setter
	private String taskStuInforId;
	
	/**
	 * 学生id
	 */
	@Column(name = "stu_id")
	@Getter @Setter
	private Long stuId;
	
	/**
	 * 学生名称
	 */
	@Column(name = "stu_name")
	@Getter @Setter
	private String stuName;
	
	/**
	 * 发布任务题目id
	 */
	@Column(name = "release_question_id")
	@Getter @Setter
	private String releaseQuestionId;
	
	/**
	 * 学生答案
	 */
	@Column(name = "stu_answer")
	@Getter @Setter
	private String stuAnswer;
	/**
	 * 批语
	 */
	@Column(name = "comment")
	@Getter @Setter
	private String comment;
	
	/**
	 * 批阅时间
	 */
	@Column(name = "batch_time")
	@Getter @Setter
	private Date batchTime;

	/**
	 * 是否正确
	 */
	@Column(name="is_correct")
	@Getter@Setter
	private Integer isCorrect;

	/**
	 * 错误类型
	 */
	@Column(name="error_type")
	@Getter@Setter
	private Integer errorType;

    /**
     * 编程运行结果
     */
	@Column(name="run_result")
	@Getter@Setter
	private String runResult;
    /**
     * 运行代码
     */
	@Column(name="run_code")
	@Getter@Setter
	private String runCode;

	/**
	 * 語言
	 */
	@Column(name="language")
	@Getter@Setter
	private String language;
	
	
}
